lcEntErase Home

Erases or restores the specified entity. The Erase command don't deletes an entity from a drawing's database, it just marked it as "deleted". LiteCAD don't draw such entities and don't save them to a file. In order to physically delete marked entities from database use the lcBlockPurge function.

 BOOL lcEntErase (
   HANDLE hEntity,
   BOOL bErase
 );

Parameters
hEntity
  Handle to a graphic object.
bErase
  If true (non-zero) then an entity will be erased, if false (zero) - restored and become visible.

Return Value

  If the function succeeds, the return value is nonzero (TRUE).

See Also

  LC_PROP_ENT_DELETED,   lcBlockSelErase